<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>平台管理-权限管理</title>
    <link href="${path }/css/style.css" rel="stylesheet" type="text/css">
    <link href="${path }/common/plugins/zTree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css">
    <link href="${path }/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path }/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path }/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/js/common.js" type="text/javascript"></script>
    <script src="${path }/common/plugins/zTree/jquery.ztree.core-3.5.min.js"></script>
    <script src="${path }/common/plugins/zTree/jquery.ztree.excheck-3.5.min.js"></script>
    <script src="${path }/common/plugins/layer/layer.js"></script>
    <script src="${path }/common/plugins/echarts/echarts.js"></script>
    <script src="${path }/js/user_js.js"></script>
    <style>
        html,body {margin:0;padding:0;}
        body{background:#f1f1f1;height:100%;}
        .content_r .control-title{margin-bottom:5px;margin-top:5px;}
        #codeTh{
        	width:300px;
        }
    </style>
</head>
<body>
<input type="hidden" id="treeId" value=""/>
<div class="content">
    <div class="content_details">
        <div class="content_l span2">
            <div class="control-title">
                <i class="user_manage content_current"></i><span>权限管理</span>
            </div>
            <div class="well">
                <!--树div-->
    			<ul id="treeWay" class="ztree"></ul>
            </div>
        </div>
        <div class="content_r span10">
            <div class="tab-content">
                <div class="tab-pane active" id="manage">
                    <div class="control-title">
                        <span id=privilegeName></span>
                        <div class="spanbtn">
                            <button class="press_btn1 addBrotherPrivilege"><i class="add top_current"></i>添加同级节点</button>
                            <button class="press_btn3 addChildPrivilege"><i class="add top_current"></i><span class="text_normal">添加子级节点</span></button>
                            <button class="press_btn2 del_select_btn" ><i class="del top_current"></i>删除</button>
                        </div>
                    </div>
                    <div class="content_table">
                        <table class="table table-striped table-bordered table-hover table-ellipsis details">
                            <thead>
                            <tr>
                                <th class="checkwidth"><input type="checkbox" class="checkAll" title="全选"/></th>
                                <th>名称</th>
                                <th>父类型</th>
                                <th id="codeTh">程序代码</th>
                                <th>同级别优先级</th>
                                <th>权限类型</th>
                                <th>菜单显示</th>
                                <th>状态</th>
                                <th>备注</th>
                                <th class="operation">操作</th>
                            </tr>
                            </thead>
                            <tbody id="pageTable">
								                           
                            </tbody>
                        </table>
                        <!-- 引入-->
            			<%@ include file="/common/jsp/footer_pager.jsp"%>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="privilege_management.js"></script>
</html>